package com.lei2j.templateMethod;

/**
 * Created by lei2j on 2019/1/27.
 */
public class Tea extends CaffeineBeverage {

    private boolean isAddCondiments;

    @Override
    void brew() {
        System.out.println("Tea brew");
    }

    @Override
    void addCondiments() {
        System.out.println("Tea addCondiments");
    }

    @Override
    public boolean isAddCondiments() {
        return isAddCondiments;
    }

    public void setAddCondiments(boolean addCondiments) {
        isAddCondiments = addCondiments;
    }
}
